package Ooday05HomeWork;

public class Point {
   /* private int x;
    private int y;

    public int getX(){
        return x;
    }
    public void setX(int x){
        if(x>=0){
            this.x = x;
        }
    }
    public int getY(){
        return y ;
    }
    public void setY(int y){
        this.y = y;
    }*/
    private int x;
    private int y;

    public int getX(){
        return x;
    }
    public void setX(int x){
        if (x>=0){
            this.x=x;
        }
    }
    public int getY(){
        return y;
    }
    public void setY(int y){
        this.y=y;
    }
}

